package ast;

public class BasicTypeDecNode extends Node{
    String id;

    public BasicTypeDecNode (String s, TypeNode left, ExprNode right) {
        this.left = left;
        this.right = right;
        this.id = s;
    }
 
    public BasicTypeDecNode (String s, TypeNode left) {
        this.left = left;
        this.right = null;
        this.id = s;
    }
    
    public Object accept(Visitor v) {
	return v.visit(this);
    }

}
